﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Text;
using SqlSugar;

namespace Model.Models
{
    /// <summary>
    /// 错误日志
    /// </summary>
    [SugarTable("sys_ErrorLog")]
    public class ErrorLog : BaseDBModelV2
    {

        /// <summary>
        /// Msg
        /// </summary>
        [StringLength(2000)]
        [Description("Message")]
        public string? Message { get; set; } = ""; 


        /// <summary>
        /// StackTrace
        /// </summary>
        [MaxLength]
        [Description("StackTrace")]
        public string? StackTrace { get; set; } = "";



        /// <summary>
        /// Ip
        /// </summary>
        [StringLength(200)]
        [Description("Ip")]
        public string? Ip { get; set; } = "";


        /// <summary>
        /// RequestPath
        /// </summary>
        [StringLength(500)]
        [Description("RequestPath")]
        public string? RequestPath { get; set; } = "";
    }
}
